package io.esir.permission;

import java.util.List;

/**
 * PermissionListener
 * Created by Huangrc on 2017/10/23.
 */

public interface PermissionListener {
    /**
     * 权限获取成功
     *
     * @param requestCode 请求码
     * @param strings     获取成功的权限
     */
    void onSucceed(int requestCode, List<String> strings);

    /**
     * 权限获取失败
     *
     * @param requestCode 请求码
     * @param deniedList  获取失败的权限
     */
    void onFailed(int requestCode, List<String> deniedList);

}
